# -*- coding:utf-8 -*-
'''
delete all pyc file of current direction
'''
import os

def main():
    for fp in os.listdir(os.getcwd()):
        if fp.endswith('.pyc'):
            os.remove(os.path.join(os.getcwd(),fp))
            print '%s removed'%fp
    pass

if __name__=='__main__':
    main()
    print 'The end...'